
include ../../GDALmake.opt

SUBDIRS-yes = generic geojson kml mem mitab vrt $(OGR_FORMATS)

SUBDIRS-$(HAVE_TEIGHA)  += dwg
SUBDIRS-$(HAVE_IDB)	+= idb
SUBDIRS-$(HAVE_MYSQL)	+= mysql
SUBDIRS-$(HAVE_HANA)    += hana
SUBDIRS-$(HAVE_OGDI)	+= ogdi
SUBDIRS-$(HAVE_OCI)	+= oci
SUBDIRS-$(HAVE_OGR_PG)	+= pg
SUBDIRS-$(HAVE_SQLITE)	+= sqlite
SUBDIRS-$(HAVE_FGDB)    += filegdb
SUBDIRS-$(HAVE_LIBKML)  += libkml
SUBDIRS-$(HAVE_FREEXL)  += xls
SUBDIRS-$(HAVE_SOSI)	+= sosi
SUBDIRS-$(HAVE_MONGOCXXV3) += mongodbv3

default:	$(foreach d,$(SUBDIRS-yes),$(d)-target)

clean:	$(foreach d,$(SUBDIRS-yes),$(d)-clean)
	rm -f o/*.o
	$(RM) o/*.lo
